<?php
// +----------------------------------------------------------------------
// | 通用工具配置文件
// +----------------------------------------------------------------------
return [
    // +----------------------------------------------------------------------
    // | 系统定时任务配置
    // +----------------------------------------------------------------------
    'task' => [
        [
            'title' => '更新统计-每天0点执行一次', //定时名称
            'type' => '_timing', //执行方法(唯一)
            'execute' => '\app\common\model\Statistics', //执行类
            'param' => [] //参数
        ]
    ],

    // +----------------------------------------------------------------------
    // | Composer自动创建文件夹，目前仅支持在运行目录public下
    // +----------------------------------------------------------------------
    'autoCreateFolder' => [
        [
            'name' => 'ACCESS_TOKEN',
            'permissions' => 0777
        ],
        [
            'name' => 'backups',
            'permissions' => 0777
        ],
        [
            'name' => 'download',
            'permissions' => 0777
        ],
        [
            'name' => 'logs',
            'permissions' => 0777
        ],
        [
            'name' => 'qrcode',
            'permissions' => 0777
        ],
        [
            'name' => 'queue',
            'permissions' => 0777
        ],
        [
            'name' => 'uploads',
            'permissions' => 0777
        ]
    ]
];
